package com.fs.cv.pojo.pojoview;


import com.fs.cv.pojo.pojodao.Class;

import java.util.List;

public class TeacherInfo {
    private int teacherId;
    private String teacherName;
    private int classId;
    private String className;
    private String courseId;
    private String courseName;
    private int teacherSex;
    private String teacherPhone;
    private List<Class> classes;

    public TeacherInfo() {
    }

    public TeacherInfo(int teacherId, String teacherName, int classId, String className, String courseId, String courseName, int teacherSex, String teacherPhone, List<Class> classes) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.classId = classId;
        this.className = className;
        this.courseId = courseId;
        this.courseName = courseName;
        this.teacherSex = teacherSex;
        this.teacherPhone = teacherPhone;
        this.classes = classes;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public int getTeacherSex() {
        return teacherSex;
    }

    public void setTeacherSex(int teacherSex) {
        this.teacherSex = teacherSex;
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone;
    }

    public List<Class> getClasses() {
        return classes;
    }

    public void setClasses(List<Class> classes) {
        this.classes = classes;
    }

    @Override
    public String toString() {
        return "TeacherInfo{" +
                "teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", classId=" + classId +
                ", className='" + className + '\'' +
                ", courseId='" + courseId + '\'' +
                ", courseName='" + courseName + '\'' +
                ", teacherSex=" + teacherSex +
                ", teacherPhone='" + teacherPhone + '\'' +
                ", classes=" + classes +
                '}';
    }
}
